package com.migo.dao;

import com.migo.entity.UserinfoInternationEntity;

import java.util.Map;

/**
 * 用户信息表
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2019-01-28 13:59:34
 */
public interface UserinfoInternationDao extends BaseDao<UserinfoInternationEntity> {

    UserinfoInternationEntity phoneLogin(Map<String, String> map);


    UserinfoInternationEntity emailLogin(Map<String, String> map);

    void modiyPassword(String userId,String newPassword);


    UserinfoInternationEntity queryUser(String userId);

    UserinfoInternationEntity queryUserExist(Map<String, String> map);

    void register(UserinfoInternationEntity user);
}
